<template>
	<view>
		<cu-custom bgColor="bg-white" isBack="true">
			<block slot="content">余额明细</block>
		</cu-custom>
		<loading-view v-if="showLoading"></loading-view>
		<view v-show="!showLoading">

		</view>
	</view>

</template>
<script>
	import request from '@/common/request.js';
	import api from '../../common/apiService';
	import {
		loadingType
	} from '@/utils/type';
	const {
		getUserIntegral
	} = api;
	export default {
		data() {
			return {
				// showLoading: true,
				// uid: 0,
				// baseUrl_img: request.baseUrl_img,
				// // withdrawList: [],
				// status: loadingType.LOADING,
				// // source_type: 0,
				// // user_info: [],
				// page: 1,
				// limit: 8,
				// current: 1,
				// information: {
				// 	id: 0,
				// 	user_integral: '',
				// },
				logs: [],
				mid: ''
			}
		},
		onLoad(options) {
			// this.source_type = options.source_type ?? '2';
			
			this.mid = uni.getStorageSync('mid')
			console.log('跳转得到mid', this.mid)
		},
		onShow() {
			// this.uid = uni.getStorageSync('uid');
			this.onRefresh();
		},
		onReachBottom: function() {
			// this.getWithdrawFun();
		},
		mounted() {
			// this.user_click(); 
			// this.loginfo();
			this.scanlist();
		},
		methods: {
			goPage(url) {
				uni.navigateTo({
					url
				});
			},
			navigate(url, type = 0) {
				if (!this.isLogin && type === 1) {
					return;
				}
				uni.navigateTo({
					url
				});
			},
			onRefresh() {
				this.page = 1
				// this.withdrawList = []
				this.status = loadingType.LOADING;
				// this.getWithdrawFun();
			}
		}
	}
</script>

<style lang="scss" scoped>
	.user_withdraw_code_aa {
		width: 700rpx;
		margin: auto;
		margin-top: 20rpx;
	}

	.user_withdraw_code_aa_a {
		overflow: hidden;
	}

	.user_withdraw_code_aa_a_a {
		float: left;
		font-family: Source Han Sans;
		font-size: 28rpx;
		font-weight: normal;
		line-height: 35rpx;
		color: #3D3D3D;
	}

	.user_withdraw_code_aa_a_b {
		float: left;
		margin-left: 15rpx;
	}

	.user_withdraw_code_aa_a_c {
		font-family: 思源黑体;
		font-size: 20rpx;
		font-weight: normal;
		line-height: 35rpx;
		color: #666666;
		margin-left: 10rpx;
		float: left;
	}

	.user_withdraw_code_aa_b {
		font-family: Source Han Sans;
		font-size: 44rpx;
		font-weight: 500;
		line-height: 60rpx;
		color: #3D3D3D;
		margin-top: 20rpx;
	}

	.user_withdraw_code {
		overflow: hidden;
	}

	.user_withdraw_code_a {
		width: 702rpx;
		height: auto;
		background: #FFFFFF;
		border-radius: 20rpx;
		margin: auto;
		margin-top: 20rpx;
		overflow: hidden;
		padding: 33rpx 28rpx;
	}

	.user_withdraw_code_a_a {
		overflow: hidden;
	}

	.user_withdraw_code_a_a_a {
		font-size: 28rpx;
		font-family: PingFang SC;
		font-weight: bold;
		color: #333333;
		float: left;
	}

	.user_withdraw_code_a_a_b {
		font-size: 28rpx;
		font-family: PingFang SC;
		font-weight: bold;
		color: #DA0909;
		float: right;
	}

	.user_withdraw_code_a_b {
		overflow: hidden;
		margin-top: 20rpx;

	}

	.user_withdraw_code_a_b_a {
		font-size: 26rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #666666;
		float: left;
	}

	.user_withdraw_code_a_b_b {
		font-size: 28rpx;
		font-family: PingFang SC;
		font-weight: bold;
		color: #DA0909;
		float: right;
	}

	.user_withdraw_code_a_c {
		margin-top: 20rpx;
		font-size: 26rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #FF3F4B;
	}

	.user_withdraw_code_a_c {
		height: 175rpx;
		width: 100%;
		overflow: hidden;
	}

	.user_withdraw_code_a_c_a {
		width: 175rpx;
		height: 175rpx;
	}

	.btn {
		background-color: #DA0909;
		font-size: 40rpx;
		font-weight: bold;
		color: #FFFFFF;
		box-sizing: border-box;
		padding: 0 0 0 200rpx;
		border-radius: 50rpx;
		width: 500rpx;
		position: fixed;
		bottom: 0;
		left: 125rpx;
	}
</style>